//
// Created by HP on 2024/4/13.
//

#include "aurora_updatefile.h"

Aurora_UpdateFile::Aurora_UpdateFile(LCD_Driver *lcd,Aurora_Font *font){
    _lcd = lcd;
    _font = font;

    total_file_size = 0;
    curr_file_size  = 0;
}


void Aurora_UpdateFile::start_file_update(uint8_t file_type,uint32_t total_size){
    total_file_size = total_size;
    curr_file_size  = 0;
}